home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2001 May / SGI IRIX Base Documentation 2001 May.iso / usr / share / catman / g_man / cat3 / ftn / getmco.z / getmco
Encoding:
Text File  |  1998-10-20  |  2.1 KB  |  67 lines

  1.  
  2.  
  3.  
  4. ggggeeeettttmmmmccccoooo((((3333GGGG))))                                                          ggggeeeettttmmmmccccoooo((((3333GGGG))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      ggggeeeettttmmmmccccoooo - gets a copy of the RGB values for a color map entry
  10.  
  11. FFFFOOOORRRRTTTTRRRRAAAANNNN 77777777 SSSSPPPPEEEECCCCIIIIFFFFIIIICCCCAAAATTTTIIIIOOOONNNN
  12.      ssssuuuubbbbrrrroooouuuuttttiiiinnnneeee ggggeeeettttmmmmccccoooo((((iiii,,,, rrrreeeedddd,,,, ggggrrrreeeeeeeennnn,,,, bbbblllluuuueeee))))
  13.      iiiinnnntttteeeeggggeeeerrrr****4444 iiii
  14.      iiiinnnntttteeeeggggeeeerrrr****2222 rrrreeeedddd,,,, ggggrrrreeeeeeeennnn,,,, bbbblllluuuueeee
  15.  
  16. PPPPAAAARRRRAAAAMMMMEEEETTTTEEEERRRRSSSS
  17.      _i   expects an index into the color map
  18.  
  19.      _r   expects the variable into which you want to copy the red value of the
  20.          color at the color map index specified by _i.
  21.  
  22.      _g   expects the variable into which you want to copy the green value of
  23.          the color at the color map index specified by _i.
  24.  
  25.      _b   expects the variable into which you want to copy the blue value of
  26.          the color at the color map index specified by _i.
  27.  
  28. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  29.      ggggeeeettttmmmmccccoooolllloooorrrr gets the red, green, and blue components of a color map entry
  30.      and copies them to the specified variables.
  31.  
  32. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  33.      drawmo, mapcol, gRGBco
  34.  
  35. NNNNOOOOTTTTEEEE
  36.      This routine is available only in immediate mode.
  37.  
  38.      The values of the red, green, and blue components for a color map cell
  39.      that is transparent are undefined.
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.